home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Macintosh Demo Applications CD
/
Apple-MacintoshDemoApplicationsCD-1.0-1992.iso
/
More Information
/
Personal Press 2.0
/
PPPouch
/
Additions
/
Edit Menu Shortcuts
/
Paste
/
Paste
next >
Wrap
Text File
|
1992-06-08
|
691b
|
42 lines
on startup
global bailout
checkTextToolIsOn
if bailout = "false" then
Paste
end if
end startup
on help
put dialog (preload, 128) into thedialog
put "---a\0" into item2
put "---a\1" into item3
put "---a\2" into item4
repeat forever
get dialog(display, thedialog)
if (it = 1) then exit repeat
end repeat
get dialog(dispose, thedialog)
end help
on checkTextToolIsOn
global bailout
put "true" into bailout
if toolmode = "TextTool" then
if currentStoryNumber() = "none" then
answer "The text cursor must be blinking in a story or a range of text must be selected."
else
put "false" into bailout
end if
else
put "false" into bailout
end if
end checkTextToolIsOn